home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_10.lha / 7_10 / makefile < prev    next >
Makefile  |  1993-08-08  |  3KB  |  106 lines

  1. C= b6CC -I. -I../../CC
  2. FLAGS= -g
  3. RROR= ../../error.a
  4.  
  5. ll: test1 test2 test3 test4 test5 test6
  6.  
  7. BJ=    po_dest.o po_error.o po_alert.o po_pending.o \
  8. po_forget.o po_print.o \
  9. qh_cons.o qh_cut.o qh_des.o qh_get.o qh_pending.o qh_putback.o qh_splice.o qh_tail.o \
  10. qt_cons.o qt_cut.o qt_des.o qt_head.o qt_pending.o qt_put.o qt_splice.o \
  11. qm_print.o ps_print.o \
  12. sem_pending.o \
  13. int_pending.o \
  14. stkdir.o \
  15. p_cons.o p_des.o p_dumpall.o \
  16. p_exit.o p_kill.o p_main.o p_pause.o p_pending.o \
  17. p_restore.o p_result.o p_rmlist.o \
  18. p_runtask.o p_save.o p_schedule.o p_stime.o \
  19. p_setprior.o p_shuffle.o p_sleep.o p_wait.o p_waitvec.o p_wakeup.o
  20.  
  21. est1: test1.o $(OBJ) ;    $(CC) -o test1 $(CFLAGS) test1.o $(OBJ) $(ERROR)
  22. est2: test2.o $(OBJ) ;    $(CC) -o test2 $(CFLAGS) test2.o $(OBJ) $(ERROR)
  23. est3: test3.o $(OBJ) ;    $(CC) -o test3 $(CFLAGS) test3.o $(OBJ) $(ERROR)
  24. est4: test4.o $(OBJ) ;    $(CC) -o test4 $(CFLAGS) test4.o $(OBJ) $(ERROR)
  25. est5: test5.o $(OBJ) ;    $(CC) -o test5 $(CFLAGS) test5.o $(OBJ) $(ERROR)
  26. est6: test6.o $(OBJ) ;    $(CC) -o test6 $(CFLAGS) test6.o $(OBJ) $(ERROR)
  27.  
  28. tchk: stchk.o stkdir.o
  29. $(CC) -o stchk $(CFLAGS) stchk.o stkdir.o
  30.  
  31. THDRS=    7_10po.h 7_10process.h 7_10pr0.h 7_10pr1.h 7_10pr2.h 7_10pr3.h
  32. DRS=    process.h stackdir.h 7_10q.h $(STHDRS)
  33.  
  34. nt_pending.o:    int_pending.c    $(HDRS)
  35. m_print.o:    qm_print.c    $(HDRS)
  36. h_cons.o:    qh_cons.c    $(HDRS)
  37. h_cut.o:    qh_cut.c    $(HDRS)
  38. h_des.o:    qh_des.c    $(HDRS)
  39. h_get.o:    qh_get.c    $(HDRS)
  40. h_pending.o:    qh_pending.c    $(HDRS)
  41. h_putback.o:    qh_putback.c    $(HDRS)
  42. h_splice.o:    qh_splice.c    $(HDRS)
  43. h_tail.o:    qh_tail.c    $(HDRS)
  44. t_cons.o:    qt_cons.c    $(HDRS)
  45. t_cut.o:    qt_cut.c    $(HDRS)
  46. t_des.o:    qt_des.c    $(HDRS)
  47. t_head.o:    qt_head.c    $(HDRS)
  48. t_pending.o:    qt_pending.c    $(HDRS)
  49. t_put.o:    qt_put.c    $(HDRS)
  50. t_splice.o:    qt_splice.c    $(HDRS)
  51. em_pending.o:    sem_pending.c    $(HDRS)
  52. tkdir.o:    stkdir.c    $(STHDRS)
  53. tchk.o:    stchk.c        $(STHDRS)
  54. _cons.o:    p_cons.c    $(HDRS)
  55. _des.o:    p_des.c        $(HDRS)
  56. _dumpall.o:    p_dumpall.c    $(HDRS)
  57. _exit.o:    p_exit.c    $(HDRS)
  58. _kill.o:    p_kill.c    $(HDRS)
  59. _main.o:    p_main.c    $(HDRS)
  60. _pause.o:    p_pause.c    $(HDRS)
  61. _pending.o:    p_pending.c    $(HDRS)
  62. _restore.o:    p_restore.c    $(HDRS)
  63. _result.o:    p_result.c    $(HDRS)
  64. _rmlist.o:    p_rmlist.c    $(HDRS)
  65. _runtask.o:    p_runtask.c    $(HDRS)
  66. _save.o:    p_save.c    $(HDRS)
  67. _schedule.o:    p_schedule.c    $(HDRS)
  68. _setprior.o:    p_setprior.c    $(HDRS)
  69. _stime.o:    p_stime.c    $(HDRS)
  70. _shuffle.o:    p_shuffle.c    $(HDRS)
  71. _sleep.o:    p_sleep.c    $(HDRS)
  72. _wait.o:    p_wait.c    $(HDRS)
  73. _waitvec.o:    p_waitvec.c    $(HDRS)
  74. _wakeup.o:    p_wakeup.c    $(HDRS)
  75. est1.o:    test1.c        $(HDRS)
  76. est2.o:    test2.c        $(HDRS)
  77. est3.o:    test3.c        $(HDRS)
  78. est4.o:    test4.c        $(HDRS)
  79. est5.o:    test5.c        $(HDRS)
  80. est6.o:    test6.c        $(HDRS)
  81. o_alert.o:    po_alert.c    $(HDRS)
  82. o_dest.o:    po_dest.c    $(HDRS)
  83. o_error.o:    po_error.c    $(HDRS)
  84. o_forget.o:    po_forget.c    $(HDRS)
  85. o_pending.o:    po_pending.c    $(HDRS)
  86. o_print.o:    po_print.c    $(HDRS)
  87. s_print.o:    ps_print.c    $(HDRS)
  88.  
  89. UT= test1.out test2.out test3.out test4.out test5.out test6.out
  90. MP= test1.cmp test2.cmp test3.cmp test4.cmp test5.cmp test6.cmp
  91.  
  92. est1.out: test1 ; ./test1 2>/dev/null > test1.out
  93. est2.out: test2 ; ./test2 2>/dev/null > test2.out
  94. est3.out: test3 ; ./test3 2>/dev/null > test3.out
  95. est4.out: test4 ; ./test4 2>/dev/null > test4.out
  96. est5.out: test5 ; ./test5 2>/dev/null > test5.out
  97. est6.out: test6 ; ./test6 2>/dev/null > test6.out
  98.  
  99. est: $(OUT) $(CMP)
  100. cmp test1.out test1.cmp
  101. cmp test2.out test2.cmp
  102. cmp test3.out test3.cmp
  103. cmp test4.out test4.cmp
  104. cmp test5.out test5.cmp
  105. cmp test6.out test6.cmp
  106.